function remove(wid){
	$('#myModal').modal('show');
	$.post("../hr/remove_Work.action",{"work.wid":wid}, function(result) {
		if(result.msg=="succ"){
			$('#myModal').modal('hide');
			$("#alertinfo").html("工种信息删除成功。");
			$("#closewin").bind("click",function(){
				$("#closewin").unbind("click");
				$('#myinfo').modal('hide');
				window.location.reload();
			});
			$('#myinfo').modal('show');
		}else{
			$('#myModal').modal('hide');
			$("#alertinfo").html(result.msg);
			$('#myinfo').modal('show');
		}
	});
}